Integrand size = 27, antiderivative size = 227 \[ \int \frac {(c+d \sin (e+f x))^{3/2}}{3+b \sin (e+f x)} \, dx=\frac {2 d E\left (\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right )|\frac {2 d}{c+d}\right ) \sqrt {c+d \sin (e+f x)}}{b f \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}+\frac {2 (b c-3 d) d \operatorname {EllipticF}\left (\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right ),\frac {2 d}{c+d}\right ) \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}{b^2 f \sqrt {c+d \sin (e+f x)}}+\frac {2 (b c-3 d)^2 \operatorname {EllipticPi}\left (\frac {2 b}{3+b},\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right ),\frac {2 d}{c+d}\right ) \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}{b^2 (3+b) f \sqrt {c+d \sin (e+f x)}} \]
[Out]
Time = 0.33 (sec) , antiderivative size = 229, normalized size of antiderivative = 1.01, number of steps used = 8, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.296, Rules used = {2883, 2734, 2732, 2882, 2742, 2740, 2886, 2884} \[ \int \frac {(c+d \sin (e+f x))^{3/2}}{3+b \sin (e+f x)} \, dx=\frac {2 d (b c-a d) \sqrt {\frac {c+d \sin (e+f x)}{c+d}} \operatorname {EllipticF}\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right ),\frac {2 d}{c+d}\right )}{b^2 f \sqrt {c+d \sin (e+f x)}}+\frac {2 (b c-a d)^2 \sqrt {\frac {c+d \sin (e+f x)}{c+d}} \operatorname {EllipticPi}\left (\frac {2 b}{a+b},\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right ),\frac {2 d}{c+d}\right )}{b^2 f (a+b) \sqrt {c+d \sin (e+f x)}}+\frac {2 d \sqrt {c+d \sin (e+f x)} E\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right )|\frac {2 d}{c+d}\right )}{b f \sqrt {\frac {c+d \sin (e+f x)}{c+d}}} \]
[In]
[Out]
Rule 2732
Rule 2734
Rule 2740
Rule 2742
Rule 2882
Rule 2883
Rule 2884
Rule 2886
Rubi steps \begin{align*} \text {integral}& = \frac {d \int \sqrt {c+d \sin (e+f x)} \, dx}{b}-\frac {(-b c+a d) \int \frac {\sqrt {c+d \sin (e+f x)}}{a+b \sin (e+f x)} \, dx}{b} \\ & = \frac {(d (b c-a d)) \int \frac {1}{\sqrt {c+d \sin (e+f x)}} \, dx}{b^2}+\frac {(b c-a d)^2 \int \frac {1}{(a+b \sin (e+f x)) \sqrt {c+d \sin (e+f x)}} \, dx}{b^2}+\frac {\left (d \sqrt {c+d \sin (e+f x)}\right ) \int \sqrt {\frac {c}{c+d}+\frac {d \sin (e+f x)}{c+d}} \, dx}{b \sqrt {\frac {c+d \sin (e+f x)}{c+d}}} \\ & = \frac {2 d E\left (\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right )|\frac {2 d}{c+d}\right ) \sqrt {c+d \sin (e+f x)}}{b f \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}+\frac {\left (d (b c-a d) \sqrt {\frac {c+d \sin (e+f x)}{c+d}}\right ) \int \frac {1}{\sqrt {\frac {c}{c+d}+\frac {d \sin (e+f x)}{c+d}}} \, dx}{b^2 \sqrt {c+d \sin (e+f x)}}+\frac {\left ((b c-a d)^2 \sqrt {\frac {c+d \sin (e+f x)}{c+d}}\right ) \int \frac {1}{(a+b \sin (e+f x)) \sqrt {\frac {c}{c+d}+\frac {d \sin (e+f x)}{c+d}}} \, dx}{b^2 \sqrt {c+d \sin (e+f x)}} \\ & = \frac {2 d E\left (\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right )|\frac {2 d}{c+d}\right ) \sqrt {c+d \sin (e+f x)}}{b f \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}+\frac {2 d (b c-a d) \operatorname {EllipticF}\left (\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right ),\frac {2 d}{c+d}\right ) \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}{b^2 f \sqrt {c+d \sin (e+f x)}}+\frac {2 (b c-a d)^2 \operatorname {EllipticPi}\left (\frac {2 b}{a+b},\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right ),\frac {2 d}{c+d}\right ) \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}{b^2 (a+b) f \sqrt {c+d \sin (e+f x)}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 20.48 (sec) , antiderivative size = 240, normalized size of antiderivative = 1.06 \[ \int \frac {(c+d \sin (e+f x))^{3/2}}{3+b \sin (e+f x)} \, dx=\frac {2 i \left (b (c-d) E\left (i \text {arcsinh}\left (\sqrt {-\frac {1}{c+d}} \sqrt {c+d \sin (e+f x)}\right )|\frac {c+d}{c-d}\right )+(3 d+b (-2 c+d)) \operatorname {EllipticF}\left (i \text {arcsinh}\left (\sqrt {-\frac {1}{c+d}} \sqrt {c+d \sin (e+f x)}\right ),\frac {c+d}{c-d}\right )+(b c-3 d) \operatorname {EllipticPi}\left (\frac {b (c+d)}{b c-3 d},i \text {arcsinh}\left (\sqrt {-\frac {1}{c+d}} \sqrt {c+d \sin (e+f x)}\right ),\frac {c+d}{c-d}\right )\right ) \sec (e+f x) \sqrt {-\frac {d (-1+\sin (e+f x))}{c+d}} \sqrt {-\frac {d (1+\sin (e+f x))}{c-d}}}{b^2 \sqrt {-\frac {1}{c+d}} f} \]
[In]
[Out]
Time = 2.14 (sec) , antiderivative size = 391, normalized size of antiderivative = 1.72
method | result | size |
default | \(-\frac {2 \left (a F\left (\sqrt {\frac {c +d \sin \left (f x +e \right )}{c -d}}, \sqrt {\frac {c -d}{c +d}}\right ) d -2 c b F\left (\sqrt {\frac {c +d \sin \left (f x +e \right )}{c -d}}, \sqrt {\frac {c -d}{c +d}}\right )-F\left (\sqrt {\frac {c +d \sin \left (f x +e \right )}{c -d}}, \sqrt {\frac {c -d}{c +d}}\right ) b d +E\left (\sqrt {\frac {c +d \sin \left (f x +e \right )}{c -d}}, \sqrt {\frac {c -d}{c +d}}\right ) b c +E\left (\sqrt {\frac {c +d \sin \left (f x +e \right )}{c -d}}, \sqrt {\frac {c -d}{c +d}}\right ) b d -\Pi \left (\sqrt {\frac {c +d \sin \left (f x +e \right )}{c -d}}, -\frac {\left (c -d \right ) b}{d a -c b}, \sqrt {\frac {c -d}{c +d}}\right ) a d +\Pi \left (\sqrt {\frac {c +d \sin \left (f x +e \right )}{c -d}}, -\frac {\left (c -d \right ) b}{d a -c b}, \sqrt {\frac {c -d}{c +d}}\right ) b c \right ) \sqrt {-\frac {d \left (\sin \left (f x +e \right )+1\right )}{c -d}}\, \sqrt {-\frac {\left (\sin \left (f x +e \right )-1\right ) d}{c +d}}\, \sqrt {\frac {c +d \sin \left (f x +e \right )}{c -d}}\, \left (c -d \right )}{b^{2} \cos \left (f x +e \right ) \sqrt {c +d \sin \left (f x +e \right )}\, f}\) | \(391\) |
[In]
[Out]
Timed out. \[ \int \frac {(c+d \sin (e+f x))^{3/2}}{3+b \sin (e+f x)} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {(c+d \sin (e+f x))^{3/2}}{3+b \sin (e+f x)} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {(c+d \sin (e+f x))^{3/2}}{3+b \sin (e+f x)} \, dx=\int { \frac {{\left (d \sin \left (f x + e\right ) + c\right )}^{\frac {3}{2}}}{b \sin \left (f x + e\right ) + a} \,d x } \]
[In]
[Out]
\[ \int \frac {(c+d \sin (e+f x))^{3/2}}{3+b \sin (e+f x)} \, dx=\int { \frac {{\left (d \sin \left (f x + e\right ) + c\right )}^{\frac {3}{2}}}{b \sin \left (f x + e\right ) + a} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(c+d \sin (e+f x))^{3/2}}{3+b \sin (e+f x)} \, dx=\int \frac {{\left (c+d\,\sin \left (e+f\,x\right )\right )}^{3/2}}{a+b\,\sin \left (e+f\,x\right )} \,d x \]
[In]
[Out]